<?php $this->beginWidget('zii.widgets.jui.CJuiDialog', array(
    'id'=>'user-confirm',
    'options'=>array(
        'autoOpen'=>true,
        'modal'=>true,
        'resizable'=>true,
        'text-align'=>'center',
    ),
)); ?>

<?php echo $userMessage; ?>

<?php $this->endWidget('zii.widgets.jui.CJuiDialog'); ?>